package com.ttctracker.classes;

import java.io.Serializable;
import java.util.ArrayList;

public class Direction implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private ArrayList<String> _stops;
	private String _tag;
	private String _title;
	private String _name;
	
	
	
	public ArrayList<String> get_stops() {
		return _stops;
	}
	public void set_stops(ArrayList<String> _stops) {
		this._stops = _stops;
	}
	public String get_tag() {
		return _tag;
	}
	public void set_tag(String _tag) {
		this._tag = _tag;
	}
	public String get_title() {
		return _title;
	}
	public void set_title(String _title) {
		this._title = _title;
	}
	public String get_name() {
		return _name;
	}
	public void set_name(String _name) {
		this._name = _name;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return _title;
	}
	/**
	 * 
	 */
	public Direction() {
		this._tag="";
		this._title="";
		this._name="";
		this._stops=new ArrayList<String>();
	}
	
	
	/**
	 * @param _tag
	 * @param _title
	 */
	public Direction(String _tag, String _title) {
		super();
		this._tag = _tag;
		this._title = _title;
		this._name="";
		this._stops=new ArrayList<String>();
	}
	/**
	 * @param _stops
	 * @param _tag
	 * @param _title
	 * @param _name
	 */
	public Direction(ArrayList<String> _stops, String _tag, String _title,
			String _name) {
		super();
		this._stops = _stops;
		this._tag = _tag;
		this._title = _title;
		this._name = _name;
	}
	
	public void add_stop(String stop_tag){
		this._stops.add(stop_tag);
	}
	
	
}
